package com.zhanshen.dao;

import com.zhanshen.pojo.Personal;

import java.util.List;

public interface PersonalDao {
    /**
     *  注册
     * @param Personal 账号，密码
     * @return
     */
    int addUser(Personal Personal);

    /**
     * 登录
     * @param personal 账号，密码
     * @return
     */

    Personal login(Personal personal);

    /**
     * 查看手机号
     * @param personal 账号，密码
     * @return
     */

    Personal select(Personal personal);

    int updateUser(Personal personal);

    int updatePaw(Personal personal);
}
